<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>侧边栏-CC</title>
</head>
<body>

<th:block th:fragment="sidebar" th:with="baseURL = ${session.CC.value}">
    <!--  呼叫中心CC -->
    <li data-name="cc-menu" class="layui-nav-item"
        th:if="${#authPermit.checkMenuPermits(false,'/operator/*.action','/callin/*.action','/report/*.action','/system/*.action')}">
        <div class="system">呼叫中心CC</div>
        <!-- 呼叫中心CC -->
        <dl class="layui-nav-child show" th:if="${#authPermit.checkMenuPermit('/operator/*.action')}">
            <dd data-name="grid">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-user"></i>
                    <cite>呼叫话务</cite>
                </a>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/operator/loginToday/list.action')}">
                    <dd class="layui-nav-itemed">
                        <a th:lay-href="|${baseURL}/operator/loginToday/list.action|">今日登录人员</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/operator/records/performance/list.action')}">
                    <dd class="layui-nav-itemed">
                        <a th:lay-href="|${baseURL}/records/performance/list.action?type=1|">历史话务报表</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/operator/records/performance/list.action')}">
                    <dd class="layui-nav-itemed">
                        <a th:lay-href="|${baseURL}/records/performance/list.action?type=2|">今日话务报表</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/operator/pause/list.action')}">
                    <dd class="layui-nav-itemed">
                        <a th:lay-href="|${baseURL}/operator/pause/list.action|">话务暂停</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/operator/pause/report/list.action')}">
                    <dd class="layui-nav-itemed">
                        <a th:lay-href="|${baseURL}/operator/pause/report/list.action|">话务暂停报表</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 呼入统计 -->
        <dl class="layui-nav-child show" th:if="${#authPermit.checkMenuPermit('/callin/*.action')}">
            <dd data-name="grid">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-cellphone"></i>
                    <cite>呼入统计</cite>
                </a>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/callin/records/statistics/list.action')}">
                    <dd class="layui-nav-itemed">
                        <a th:lay-href="|${baseURL}/records/statistics/list.action|">时段统计</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 呼入报表 -->
        <dl class="layui-nav-child show">
            <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/report/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-read"></i>
                    <cite>呼入报表</cite>
                </a>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/report/number/callin.action')}">
                    <dd class="layui-nav-itemed">
                        <a th:lay-href="|${baseURL}/system/number/callin.action?reportType=2|">呼入号码报表</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/report/number/callout.action')}">
                    <dd class="layui-nav-itemed">
                        <a th:lay-href="|${baseURL}/system/number/callout.action?reportType=2|">呼出号码报表</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 呼叫系统设置 -->
        <dl class="layui-nav-child show">
            <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/system/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-set"></i>
                    <cite>呼叫系统设置</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd class="layui-nav-itemed" th:if="${#authPermit.checkMenuPermit('/system/agents/cluster/list.action')}">
                        <a th:lay-href="|${baseURL}/agents/cluster/list.action|">坐席群管理</a>
                    </dd>
                    <dd class="layui-nav-itemed" th:if="${#authPermit.checkMenuPermit('/system/agents/group/list.action')}">
                        <a th:lay-href="|${baseURL}/agents/group/list.action|">坐席组管理</a>
                    </dd>
                    <dd class="layui-nav-itemed" th:if="${#authPermit.checkMenuPermit('/system/number/list.action')}">
                        <a th:lay-href="|${baseURL}/system/number/list.action|">号码管理</a>
                    </dd>
                    <dd class="layui-nav-itemed" th:if="${#authPermit.checkMenuPermit('/agents/staff/list.action')}">
                        <a th:lay-href="|${baseURL}/agents/staff/list.action|">人员管理</a>
                    </dd>
                    <dd class="layui-nav-itemed" th:if="${#authPermit.checkMenuPermit('/system/blacklist/list.action')}">
                        <a th:lay-href="|${baseURL}/system/blacklist/list.action|">黑名单</a>
                    </dd>
                    <dd class="layui-nav-itemed" th:if="${#authPermit.checkMenuPermit('/system/tag/list.action')}">
                        <a th:lay-href="|${baseURL}/system/tag/list.action|">标记管理</a>
                    </dd>
                    <dd class="layui-nav-itemed" th:if="${#authPermit.checkMenuPermit('/system/warn/list.action')}">
                        <a th:lay-href="|${baseURL}/system/warn/list.action|">弹屏提醒</a>
                    </dd>
                    <dd class="layui-nav-itemed" th:if="${#authPermit.checkMenuPermit('/system/bulletin/add.action')}">
                        <a th:lay-href="|${baseURL}/static/html/bulletin.html|">首页公告</a>
                    </dd>
                </dl>
            </dd>
        </dl>
    </li>
</th:block>

</body>
</html>
